package com.travel.model.dto.destination;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.Size;
import lombok.Data;

import java.math.BigDecimal;
//目的地dto 景点id 景点名称 国家 城市 描述 图片url 状态 纬度 经度 最佳季节 气候 平均评分 评论数量
@Data
public class DestinationDTO {
    private Long id;
    
    @NotBlank(message = "景点名称不能为空")
    @Size(max = 100, message = "景点名称不能超过100个字符")
    private String name;
    
    @NotBlank(message = "国家不能为空")
    private String country;
    
    @NotBlank(message = "城市不能为空")
    private String city;
    
    private String description;
    private String imageUrl;
    private Integer status;
    private BigDecimal latitude;
    private BigDecimal longitude;
    private String bestSeason;
    private String climate;
    
    @Schema(description = "平均评分")
    private Double averageRating;
    
    @Schema(description = "评论数量")
    private Integer commentCount;
} 